package com.zmn.plat.business.interfaces.orderconfig.track.category;

import com.zmn.plat.common.dto.orderconfig.track.category.OrderTrackCategoryDRO;
import com.zmn.plat.model.entity.orderconfig.track.category.OrderTrackCategory;

import java.util.List;

/**
 * @author tanbiao
 * @description
 * @modifier
 * @since 2020/11/17 16:12
 **/
public interface OrderTrackCategoryBService {

    /**
     * 描述：根据状态查询分类
     *
     * @param status
     * @author tanbiao
     * @since 2020/11/17 16:42
     * @return java.lang.Integer
     * @modifier
     */
    List<OrderTrackCategoryDRO> listByStatus(Integer status);

    /**
     * 描述：新增或者修改 名称不能重复
     * 
     * @param orderTrackCategory
     * @author tanbiao
     * @since 2020/11/17 16:42
     * @return java.lang.Integer
     * @modifier
     */
    Integer addEdit(OrderTrackCategory orderTrackCategory, String operator);

}
